package com.efast.cafe.portal.bean.common;

import java.io.Serializable;

public class EntityFieldDetailBean implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2671684522863880124L;

	private String i18nName;

	private String fieldName;
	// 字段类型.1:string,2:int,3:double,4:date 5:boolean 6:entity
	private Integer fieldType;

	private String defaultValue;

	private String defType;

	private String referEntity;

	private String referPro;

	private Integer isPk;

	private int required;

	private Integer isArray;

	private String searchCode;
	
	private String physicalField;//实体翻译字段名
	
	private Integer uniqueIndex;//是否唯一索引
	
	private String redundantRef;

	public String getI18nName() {
		return i18nName;
	}

	public void setI18nName(String i18nName) {
		this.i18nName = i18nName;
	}

	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public Integer getFieldType() {
		return fieldType;
	}

	public void setFieldType(Integer fieldType) {
		this.fieldType = fieldType;
	}

	public String getDefaultValue() {
		return defaultValue;
	}

	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}

	public String getDefType() {
		return defType;
	}

	public void setDefType(String defType) {
		this.defType = defType;
	}

	public String getReferEntity() {
		return referEntity;
	}

	public void setReferEntity(String referEntity) {
		this.referEntity = referEntity;
	}

	public String getReferPro() {
		return referPro;
	}

	public void setReferPro(String referPro) {
		this.referPro = referPro;
	}

	public Integer getIsPk() {
		return isPk;
	}

	public void setIsPk(Integer isPk) {
		this.isPk = isPk;
	}

	public int getRequired() {
		return required;
	}

	public void setRequired(int required) {
		this.required = required;
	}

	public Integer getIsArray() {
		return isArray;
	}

	public void setIsArray(Integer isArray) {
		this.isArray = isArray;
	}

	public String getSearchCode() {
		return searchCode;
	}

	public void setSearchCode(String searchCode) {
		this.searchCode = searchCode;
	}

	public String getPhysicalField() {
		return physicalField;
	}

	public void setPhysicalField(String physicalField) {
		this.physicalField = physicalField;
	}

	public Integer getUniqueIndex() {
		return uniqueIndex;
	}

	public void setUniqueIndex(Integer uniqueIndex) {
		this.uniqueIndex = uniqueIndex;
	}

	public String getRedundantRef() {
		return redundantRef;
	}

	public void setRedundantRef(String redundantRef) {
		this.redundantRef = redundantRef;
	}

}
